package com.lecyon.farm.vo.modify;

import com.lecyon.farm.base.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 重置登录密码
 *
 * @author Yao Zheng
 * @Date 2019/9/11 22:14
 */
@ApiModel("重置登录密码Vo")
@Data
public class ResetLoginPassword extends BaseVo {

    @ApiModelProperty(name = "user_id", value = "用户id")
    @NotNull(message = "用户id不能为空")
    @Min(value = 1, message = "用户ID无效")
    private Long userId;

}
